package com.liusr.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Liusr
 * @date 2023/9/15
 * @package com.liusr.config
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
@ConfigurationProperties(prefix = "auth.security.jwt.rsa")
public class RsaProperties {

	/**
	 * 加密秘钥信息
	 */
	private String secret;
	/**
	 * 私钥存放路径
	 */
	private String privateFile;
	/**
	 * 公钥存放路径
	 */
	private String publicFile;

}

